<template>
  <div>
    <tr>
      <td>
        <input type="number" v-model.number="arr.count" />
      </td>
      <td>
        <span>{{arr.goodsName}}</span>
      </td>
      <td>
        <span>{{arr.count ==0 ? '卖光了！！！' : ''}}</span>
      </td>
    </tr>
  </div>
</template>

<script>
export default {
  name: "mgl",
  props: ["arr"],
};
</script>

<style>
</style>